package com.jeethink.project.cadre.domain;

import java.util.Date;
import com.jeethink.framework.aspectj.lang.annotation.Excel;
import com.jeethink.framework.web.domain.BaseEntity;
import com.jeethink.project.system.dept.domain.Dept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 用户信息对象 sys_user_copy1
 * 
 * @author xyp
 * @date 2020-09-21
 */
public class SysUserCadre extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 部门ID */
    //@Excel(name = "部门ID")
    private Long deptId;

    /** 登录账号 */
    //@Excel(name = "登录账号")
    private String loginName;

    /** 用户昵称 */
    @Excel(name = "姓名")
    private String userName;

    /** 用户类型（00系统用户） */
    //@Excel(name = "用户类型", readConverterExp = "0=0系统用户")
    private String userType;

    /** 出生年月 */
    @Excel(name = "出生年月")
    private String birthday;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 身份 */
    @Excel(name = "身份")
    private String identity;

    /** 本人联系电话 */
    @Excel(name = "本人联系电话")
    private String phonenumber;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 编制类型 */
    @Excel(name = "编制类型", readConverterExp = "0=参工,1=事业,2=其他")
    private String organizationType;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politics;

    /** 入党时间 */
    @Excel(name = "入党时间")
    private String partyTime;

    /** 工作时间 */
    @Excel(name = "工作时间")
    private String workTime;

    /** 退休时间 */
    @Excel(name = "退休时间")
    private String retireTime;

    /** 退休时所在单位 */
    @Excel(name = "退休时所在单位")
    private String retireCompany;

    /** 退休时职务 */
    @Excel(name = "退休时职务")
    private String retireJob;

    /** 退休时职级(参公编制) */
    @Excel(name = "退休时职级(参公编制)")
    private String retireLevelPublic;

    /** 退休时职级(事业编制) */
    @Excel(name = "退休时职级(事业编制)")
    private String retireLevelCause;

    /** 专业技术职务 */
    @Excel(name = "专业技术职务")
    private String professionalSkill;

    /** 专业职务级别 */
    @Excel(name = "专业职务级别", readConverterExp = "0=正高,1=副高,2=其他，3=初级,4=未评")
    private String professionalLevel;

    /** 月收入总额(元) */
    @Excel(name = "月收入总额(元)")
    private String incomeAll;

    /** 基本退休费 */
    @Excel(name = "基本退休费")
    private String incomeRetire;

    /** 生活补贴 */
    @Excel(name = "生活补贴")
    private String subsidyLife;

    /** 其他补贴 */
    @Excel(name = "其他补贴")
    private String subsidyOther;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况", readConverterExp = "0=已婚,1=丧偶,2=丧偶,3=离婚,4=再婚,5=其他")
    private String maritalStatus;

    /** 配偶姓名 */
    @Excel(name = "配偶姓名")
    private String spouseName;

    /** 配偶出生年月 */
    @Excel(name = "配偶出生年月")
    private String spouseBirth;

    /** 配偶现状 */
    @Excel(name = "配偶现状", readConverterExp = "0=退休,1=在职,2=其他")
    private String spouseStatus;

    /** 配偶工作单位及职务 */
    @Excel(name = "配偶工作单位及职务")
    private String spouseWork;

    /** 配偶联系电话 */
    @Excel(name = "配偶联系电话")
    private String spousePhone;

    /** 子女总数 */
    @Excel(name = "子女总数")
    private String childrenNum;

    /** 无劳动能力子女 */
    @Excel(name = "无劳动能力子女")
    private String childrenNowork;

    /** 需赡养人数 */
    @Excel(name = "需赡养人数")
    private String supportNum;

    /** 需抚养人数 */
    @Excel(name = "需抚养人数")
    private String raiseNum;

    /** 家庭住址邮政编码 */
    @Excel(name = "家庭住址邮政编码")
    private String postalCode;

    /** 家庭具体住址 */
    @Excel(name = "家庭具体住址")
    private String address;

    /** 住宅电话 */
    @Excel(name = "住宅电话")
    private String addressTelephone;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private String addressArea;

    /** 购房情况 */
    @Excel(name = "购房情况", readConverterExp = "0=已购,1=未购,2=其他")
    private String housePurchase;

    /** 子女1姓名 */
    @Excel(name = "子女1姓名")
    private String child1Name;

    /** 子女1现居住地 */
    @Excel(name = "子女1现居住地")
    private String child1Address;

    /** 子女1联系电话 */
    @Excel(name = "子女1联系电话")
    private String child1Telephone;

    /** 子女2姓名 */
    @Excel(name = "子女2姓名")
    private String child2Name;

    /** 子女2现居住地 */
    @Excel(name = "子女2现居住地")
    private String child2Address;

    /** 子女2联系电话 */
    @Excel(name = "子女2联系电话")
    private String child2Telephone;

    /** 其他联系人姓名 */
    @Excel(name = "其他联系人姓名")
    private String otherContactsName;

    /** 其他联系人关系 */
    @Excel(name = "其他联系人关系")
    private String otherContactsRelationship;

    /** 其他联系人居住地 */
    @Excel(name = "其他联系人居住地")
    private String otherContactsAddress;

    /** 其他联系人联系电话 */
    @Excel(name = "其他联系人联系电话")
    private String otherContactsTelephone;

    /** 评残情况 */
    @Excel(name = "评残情况")
    private String disabilityStas;

    /** 合同医院名称 */
    @Excel(name = "合同医院名称")
    private String assignedHospital;

    /** 医疗社会保险 */
    @Excel(name = "医疗社会保险", readConverterExp = "0=已加入,1=未加入")
    private String insurance;

    /** 就近医院名称 */
    @Excel(name = "就近医院名称")
    private String nearbyHospital;

    /** 社会保障号码 */
    @Excel(name = "社会保障号码")
    private String socialSecurityNo;

    /** 发挥作用情况 */
    @Excel(name = "发挥作用情况")
    private String performance;

    /** 简历 */
    @Excel(name = "简历")
    private String resume;

    /** 头像路径 */
    //@Excel(name = "头像路径")
    private String avatar;

    /** 密码 */
    //@Excel(name = "密码")
    private String password;

    /** 盐加密 */
    //@Excel(name = "盐加密")
    private String salt;

    /** 帐号状态（0正常 1停用） */
    //@Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 最后登陆IP */
    //@Excel(name = "最后登陆IP")
    private String loginIp;

    /** 最后登陆时间 */
   // @Excel(name = "最后登陆时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDate;


    private Dept dept;

    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }
    public void setNativePlace(String nativePlace)
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace()
    {
        return nativePlace;
    }
    public void setIdentity(String identity) 
    {
        this.identity = identity;
    }

    public String getIdentity() 
    {
        return identity;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setOrganizationType(String organizationType) 
    {
        this.organizationType = organizationType;
    }

    public String getOrganizationType() 
    {
        return organizationType;
    }
    public void setPolitics(String politics) 
    {
        this.politics = politics;
    }

    public String getPolitics() 
    {
        return politics;
    }
    public void setPartyTime(String partyTime) 
    {
        this.partyTime = partyTime;
    }

    public String getPartyTime() 
    {
        return partyTime;
    }
    public void setWorkTime(String workTime) 
    {
        this.workTime = workTime;
    }

    public String getWorkTime() 
    {
        return workTime;
    }
    public void setRetireTime(String retireTime) 
    {
        this.retireTime = retireTime;
    }

    public String getRetireTime() 
    {
        return retireTime;
    }
    public void setRetireCompany(String retireCompany) 
    {
        this.retireCompany = retireCompany;
    }

    public String getRetireCompany() 
    {
        return retireCompany;
    }
    public void setRetireJob(String retireJob) 
    {
        this.retireJob = retireJob;
    }

    public String getRetireJob() 
    {
        return retireJob;
    }
    public void setRetireLevelPublic(String retireLevelPublic) 
    {
        this.retireLevelPublic = retireLevelPublic;
    }

    public String getRetireLevelPublic() 
    {
        return retireLevelPublic;
    }
    public void setRetireLevelCause(String retireLevelCause) 
    {
        this.retireLevelCause = retireLevelCause;
    }

    public String getRetireLevelCause() 
    {
        return retireLevelCause;
    }
    public void setProfessionalSkill(String professionalSkill) 
    {
        this.professionalSkill = professionalSkill;
    }

    public String getProfessionalSkill() 
    {
        return professionalSkill;
    }
    public void setProfessionalLevel(String professionalLevel) 
    {
        this.professionalLevel = professionalLevel;
    }

    public String getProfessionalLevel() 
    {
        return professionalLevel;
    }
    public void setIncomeAll(String incomeAll) 
    {
        this.incomeAll = incomeAll;
    }

    public String getIncomeAll() 
    {
        return incomeAll;
    }
    public void setIncomeRetire(String incomeRetire) 
    {
        this.incomeRetire = incomeRetire;
    }

    public String getIncomeRetire() 
    {
        return incomeRetire;
    }
    public void setSubsidyLife(String subsidyLife) 
    {
        this.subsidyLife = subsidyLife;
    }

    public String getSubsidyLife() 
    {
        return subsidyLife;
    }
    public void setSubsidyOther(String subsidyOther) 
    {
        this.subsidyOther = subsidyOther;
    }

    public String getSubsidyOther() 
    {
        return subsidyOther;
    }
    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setSpouseName(String spouseName) 
    {
        this.spouseName = spouseName;
    }

    public String getSpouseName() 
    {
        return spouseName;
    }
    public void setSpouseBirth(String spouseBirth) 
    {
        this.spouseBirth = spouseBirth;
    }

    public String getSpouseBirth() 
    {
        return spouseBirth;
    }
    public void setSpouseStatus(String spouseStatus) 
    {
        this.spouseStatus = spouseStatus;
    }

    public String getSpouseStatus() 
    {
        return spouseStatus;
    }
    public void setSpouseWork(String spouseWork) 
    {
        this.spouseWork = spouseWork;
    }

    public String getSpouseWork() 
    {
        return spouseWork;
    }
    public void setSpousePhone(String spousePhone) 
    {
        this.spousePhone = spousePhone;
    }

    public String getSpousePhone() 
    {
        return spousePhone;
    }
    public void setChildrenNum(String childrenNum) 
    {
        this.childrenNum = childrenNum;
    }

    public String getChildrenNum() 
    {
        return childrenNum;
    }
    public void setChildrenNowork(String childrenNowork) 
    {
        this.childrenNowork = childrenNowork;
    }

    public String getChildrenNowork() 
    {
        return childrenNowork;
    }
    public void setSupportNum(String supportNum) 
    {
        this.supportNum = supportNum;
    }

    public String getSupportNum() 
    {
        return supportNum;
    }
    public void setRaiseNum(String raiseNum) 
    {
        this.raiseNum = raiseNum;
    }

    public String getRaiseNum() 
    {
        return raiseNum;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAddressTelephone(String addressTelephone) 
    {
        this.addressTelephone = addressTelephone;
    }

    public String getAddressTelephone() 
    {
        return addressTelephone;
    }
    public void setAddressArea(String addressArea) 
    {
        this.addressArea = addressArea;
    }

    public String getAddressArea() 
    {
        return addressArea;
    }
    public void setHousePurchase(String housePurchase) 
    {
        this.housePurchase = housePurchase;
    }

    public String getHousePurchase() 
    {
        return housePurchase;
    }
    public void setChild1Name(String child1Name) 
    {
        this.child1Name = child1Name;
    }

    public String getChild1Name() 
    {
        return child1Name;
    }
    public void setChild1Address(String child1Address) 
    {
        this.child1Address = child1Address;
    }

    public String getChild1Address() 
    {
        return child1Address;
    }
    public void setChild1Telephone(String child1Telephone) 
    {
        this.child1Telephone = child1Telephone;
    }

    public String getChild1Telephone() 
    {
        return child1Telephone;
    }
    public void setChild2Name(String child2Name) 
    {
        this.child2Name = child2Name;
    }

    public String getChild2Name() 
    {
        return child2Name;
    }
    public void setChild2Address(String child2Address) 
    {
        this.child2Address = child2Address;
    }

    public String getChild2Address() 
    {
        return child2Address;
    }
    public void setChild2Telephone(String child2Telephone) 
    {
        this.child2Telephone = child2Telephone;
    }

    public String getChild2Telephone() 
    {
        return child2Telephone;
    }
    public void setOtherContactsName(String otherContactsName) 
    {
        this.otherContactsName = otherContactsName;
    }

    public String getOtherContactsName() 
    {
        return otherContactsName;
    }
    public void setOtherContactsRelationship(String otherContactsRelationship) 
    {
        this.otherContactsRelationship = otherContactsRelationship;
    }

    public String getOtherContactsRelationship() 
    {
        return otherContactsRelationship;
    }
    public void setOtherContactsAddress(String otherContactsAddress) 
    {
        this.otherContactsAddress = otherContactsAddress;
    }

    public String getOtherContactsAddress() 
    {
        return otherContactsAddress;
    }
    public void setOtherContactsTelephone(String otherContactsTelephone) 
    {
        this.otherContactsTelephone = otherContactsTelephone;
    }

    public String getOtherContactsTelephone() 
    {
        return otherContactsTelephone;
    }
    public void setDisabilityStas(String disabilityStas) 
    {
        this.disabilityStas = disabilityStas;
    }

    public String getDisabilityStas() 
    {
        return disabilityStas;
    }
    public void setAssignedHospital(String assignedHospital) 
    {
        this.assignedHospital = assignedHospital;
    }

    public String getAssignedHospital() 
    {
        return assignedHospital;
    }
    public void setInsurance(String insurance) 
    {
        this.insurance = insurance;
    }

    public String getInsurance() 
    {
        return insurance;
    }
    public void setNearbyHospital(String nearbyHospital) 
    {
        this.nearbyHospital = nearbyHospital;
    }

    public String getNearbyHospital() 
    {
        return nearbyHospital;
    }
    public void setSocialSecurityNo(String socialSecurityNo) 
    {
        this.socialSecurityNo = socialSecurityNo;
    }

    public String getSocialSecurityNo() 
    {
        return socialSecurityNo;
    }
    public void setPerformance(String performance) 
    {
        this.performance = performance;
    }

    public String getPerformance() 
    {
        return performance;
    }
    public void setResume(String resume) 
    {
        this.resume = resume;
    }

    public String getResume() 
    {
        return resume;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLoginIp(String loginIp) 
    {
        this.loginIp = loginIp;
    }

    public String getLoginIp() 
    {
        return loginIp;
    }
    public void setLoginDate(Date loginDate) 
    {
        this.loginDate = loginDate;
    }

    public Date getLoginDate() 
    {
        return loginDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("loginName", getLoginName())
            .append("userName", getUserName())
            .append("userType", getUserType())
            .append("birthday", getBirthday())
            .append("nativePlace", getNativePlace())
            .append("identity", getIdentity())
            .append("phonenumber", getPhonenumber())
            .append("sex", getSex())
            .append("education", getEducation())
            .append("nation", getNation())
            .append("organizationType", getOrganizationType())
            .append("politics", getPolitics())
            .append("partyTime", getPartyTime())
            .append("workTime", getWorkTime())
            .append("retireTime", getRetireTime())
            .append("retireCompany", getRetireCompany())
            .append("retireJob", getRetireJob())
            .append("retireLevelPublic", getRetireLevelPublic())
            .append("retireLevelCause", getRetireLevelCause())
            .append("professionalSkill", getProfessionalSkill())
            .append("professionalLevel", getProfessionalLevel())
            .append("incomeAll", getIncomeAll())
            .append("incomeRetire", getIncomeRetire())
            .append("subsidyLife", getSubsidyLife())
            .append("subsidyOther", getSubsidyOther())
            .append("maritalStatus", getMaritalStatus())
            .append("spouseName", getSpouseName())
            .append("spouseBirth", getSpouseBirth())
            .append("spouseStatus", getSpouseStatus())
            .append("spouseWork", getSpouseWork())
            .append("spousePhone", getSpousePhone())
            .append("childrenNum", getChildrenNum())
            .append("childrenNowork", getChildrenNowork())
            .append("supportNum", getSupportNum())
            .append("raiseNum", getRaiseNum())
            .append("postalCode", getPostalCode())
            .append("address", getAddress())
            .append("addressTelephone", getAddressTelephone())
            .append("addressArea", getAddressArea())
            .append("housePurchase", getHousePurchase())
            .append("child1Name", getChild1Name())
            .append("child1Address", getChild1Address())
            .append("child1Telephone", getChild1Telephone())
            .append("child2Name", getChild2Name())
            .append("child2Address", getChild2Address())
            .append("child2Telephone", getChild2Telephone())
            .append("otherContactsName", getOtherContactsName())
            .append("otherContactsRelationship", getOtherContactsRelationship())
            .append("otherContactsAddress", getOtherContactsAddress())
            .append("otherContactsTelephone", getOtherContactsTelephone())
            .append("disabilityStas", getDisabilityStas())
            .append("assignedHospital", getAssignedHospital())
            .append("insurance", getInsurance())
            .append("nearbyHospital", getNearbyHospital())
            .append("socialSecurityNo", getSocialSecurityNo())
            .append("performance", getPerformance())
            .append("resume", getResume())
            .append("avatar", getAvatar())
            .append("password", getPassword())
            .append("salt", getSalt())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("loginIp", getLoginIp())
            .append("loginDate", getLoginDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
